100
How can I programmatically change the column where incremental searching is performed
with AxG2antt1 do
begin
	Columns.Add('Column 1');
	Columns.Add('Column 2');
	with Items do
	begin
		CellValue[TObject(AddItem('Item 1')),TObject(1)] := 'SubItem 1';
	end;
	SearchColumnIndex := 1;
end
99
How do I disable the full-row selection in the control
with AxG2antt1 do
begin
	FullRowSelect := EXG2ANTTLib.CellSelectEnum.exColumnSel;
	Columns.Add('Column');
	Items.AddItem('One');
	Items.AddItem('Two');
end
98
Is there any option to specify the height of the items, before adding them
with AxG2antt1 do
begin
	DefaultItemHeight := 32;
	Columns.Add('Column');
	Items.AddItem('One');
	Items.AddItem('Two');
end
97
How do lock / fix some columns to the control, so I can see them all the time, event if I scroll the columns
with AxG2antt1 do
begin
	CountLockedColumns := 1;
	BackColorLock := Color.FromArgb(240,240,240);
	ColumnAutoResize := False;
	(Columns.Add('Locked') as EXG2ANTTLib.Column).Width := 128;
	(Columns.Add('Un-Locked 1') as EXG2ANTTLib.Column).Width := 128;
	(Columns.Add('Un-Locked 2') as EXG2ANTTLib.Column).Width := 128;
	(Columns.Add('Un-Locked 3') as EXG2ANTTLib.Column).Width := 128;
	with Items do
	begin
		CellValue[TObject(AddItem('locked')),TObject(1)] := 'unlocked';
	end;
end
96
How do I change the control's background / foreground color on the locked area
with AxG2antt1 do
begin
	CountLockedColumns := 1;
	ForeColorLock := Color.FromArgb(240,240,240);
	BackColorLock := Color.FromArgb(128,128,128);
	ColumnAutoResize := False;
	(Columns.Add('Locked') as EXG2ANTTLib.Column).Width := 128;
	(Columns.Add('Un-Locked 1') as EXG2ANTTLib.Column).Width := 128;
	(Columns.Add('Un-Locked 2') as EXG2ANTTLib.Column).Width := 128;
	(Columns.Add('Un-Locked 3') as EXG2ANTTLib.Column).Width := 128;
	with Items do
	begin
		CellValue[TObject(AddItem('locked')),TObject(1)] := 'unlocked';
	end;
end
95
How do I change the control's foreground color
with AxG2antt1 do
begin
	ForeColor := Color.FromArgb(120,120,120);
	Columns.Add('Column');
	Items.AddItem('item');
end
94
How do I change the control's background color
with AxG2antt1 do
begin
	BackColor := Color.FromArgb(200,200,200);
end
93
How do I use my own icons for my radio buttons

with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	set_RadioImage(False,1);
	set_RadioImage(True,2);
	(Columns.Add('Radio') as EXG2ANTTLib.Column).Def[EXG2ANTTLib.DefColumnEnum.exCellHasRadioButton] := TObject(True);
	with Items do
	begin
		AddItem('Radio 1');
		CellState[TObject(AddItem('Radio 2')),TObject(0)] := 1;
		AddItem('Radio 3');
	end;
end
92
How do I use my own icons for checkbox cells

with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	set_CheckImage(EXG2ANTTLib.CheckStateEnum.Unchecked,1);
	set_CheckImage(EXG2ANTTLib.CheckStateEnum.Checked,2);
	(Columns.Add('Check') as EXG2ANTTLib.Column).Def[EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox] := TObject(True);
	with Items do
	begin
		AddItem('Check 1');
		CellState[TObject(AddItem('Check 2')),TObject(0)] := 1;
	end;
end
91
How do I perform my own sorting when user clicks the column's header
with AxG2antt1 do
begin
	SortOnClick := EXG2ANTTLib.SortOnClickEnum.exUserSort;
	Columns.Add('Column');
	Items.AddItem('Item 1');
	Items.AddItem('Item 2');
end
90
How do I disable sorting a specified column when clicking its header
with AxG2antt1 do
begin
	Columns.Add('1');
	(Columns.Add('NoSort') as EXG2ANTTLib.Column).AllowSort := False;
end
89
How do I disable sorting the columns when clicking the control's header
with AxG2antt1 do
begin
	SortOnClick := EXG2ANTTLib.SortOnClickEnum.exNoSort;
	Columns.Add('1');
	Columns.Add('2');
end
88
How do I put a picture on the center of the control
with AxG2antt1 do
begin
	(GetOcx() as EXG2ANTTLib.G2antt).Picture := AxG2antt1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
	PictureDisplay := EXG2ANTTLib.PictureDisplayEnum.MiddleCenter;
end
87
How do I resize/stretch a picture on the control's background
with AxG2antt1 do
begin
	(GetOcx() as EXG2ANTTLib.G2antt).Picture := AxG2antt1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
	PictureDisplay := EXG2ANTTLib.PictureDisplayEnum.Stretch;
end
86
How do I put a picture on the control's center right bottom side
with AxG2antt1 do
begin
	(GetOcx() as EXG2ANTTLib.G2antt).Picture := AxG2antt1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
	PictureDisplay := EXG2ANTTLib.PictureDisplayEnum.LowerRight;
end
85
How do I put a picture on the control's center left bottom side
with AxG2antt1 do
begin
	(GetOcx() as EXG2ANTTLib.G2antt).Picture := AxG2antt1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
	PictureDisplay := EXG2ANTTLib.PictureDisplayEnum.LowerLeft;
end
84
How do I put a picture on the control's center top side
with AxG2antt1 do
begin
	(GetOcx() as EXG2ANTTLib.G2antt).Picture := AxG2antt1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
	PictureDisplay := EXG2ANTTLib.PictureDisplayEnum.UpperCenter;
end
83
How do I put a picture on the control's right top corner
with AxG2antt1 do
begin
	(GetOcx() as EXG2ANTTLib.G2antt).Picture := AxG2antt1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
	PictureDisplay := EXG2ANTTLib.PictureDisplayEnum.UpperRight;
end
82
How do I put a picture on the control's left top corner
with AxG2antt1 do
begin
	(GetOcx() as EXG2ANTTLib.G2antt).Picture := AxG2antt1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
	PictureDisplay := EXG2ANTTLib.PictureDisplayEnum.UpperLeft;
end
81
How do I put a picture on the control's background
with AxG2antt1 do
begin
	(GetOcx() as EXG2ANTTLib.G2antt).Picture := AxG2antt1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
end
80
How do I sort descending a column, and put the sorting icon in the column's header
with AxG2antt1 do
begin
	Columns.Add('Column');
	with Items do
	begin
		AddItem('Item 1');
		AddItem('Item 2');
		AddItem('Item 3');
	end;
	Columns.Item[TObject(0)].SortOrder := EXG2ANTTLib.SortOrderEnum.SortDescending;
end
79
How do I sort ascending a column, and put the sorting icon in the column's header
with AxG2antt1 do
begin
	Columns.Add('Column');
	with Items do
	begin
		AddItem('Item 3');
		AddItem('Item 1');
		AddItem('Item 2');
	end;
	Columns.Item[TObject(0)].SortOrder := EXG2ANTTLib.SortOrderEnum.SortAscending;
end
78
How do I perform my own/custom sort, using my extra numbers
with AxG2antt1 do
begin
	(Columns.Add('desc') as EXG2ANTTLib.Column).SortType := EXG2ANTTLib.SortTypeEnum.SortUserData;
	with Items do
	begin
		CellData[TObject(AddItem(TObject(0))),TObject(0)] := TObject(2);
		CellData[TObject(AddItem(TObject(1))),TObject(0)] := TObject(1);
		CellData[TObject(AddItem(TObject(2))),TObject(0)] := TObject(0);
		SortChildren(0,TObject(0),False);
	end;
end
77
How do I perform my own/custom sort, using my extra numbers
with AxG2antt1 do
begin
	(Columns.Add('desc') as EXG2ANTTLib.Column).SortType := EXG2ANTTLib.SortTypeEnum.SortUserData;
	with Items do
	begin
		CellData[TObject(AddItem(TObject(0))),TObject(0)] := TObject(2);
		CellData[TObject(AddItem(TObject(1))),TObject(0)] := TObject(1);
		CellData[TObject(AddItem(TObject(2))),TObject(0)] := TObject(0);
		SortChildren(0,TObject(0),False);
	end;
end
76
By default, the column gets sorted as strings, so how do I sort a column by time only
with AxG2antt1 do
begin
	(Columns.Add('desc') as EXG2ANTTLib.Column).SortType := EXG2ANTTLib.SortTypeEnum.SortTime;
	with Items do
	begin
		AddItem('11:00');
		AddItem('10:10');
		AddItem('12:12');
		SortChildren(0,TObject(0),False);
	end;
end
75
By default, the column gets sorted as strings, so how do I sort a column by date and time
with AxG2antt1 do
begin
	(Columns.Add('desc') as EXG2ANTTLib.Column).SortType := EXG2ANTTLib.SortTypeEnum.SortDateTime;
	with Items do
	begin
		AddItem('1/1/2001 11:00:00 AM');
		AddItem('1/1/2001 10:10:00 AM');
		AddItem('1/10/2003');
		SortChildren(0,TObject(0),False);
	end;
end
74
By default, the column gets sorted as strings, so how do I sort a column by dates
with AxG2antt1 do
begin
	(Columns.Add('desc') as EXG2ANTTLib.Column).SortType := EXG2ANTTLib.SortTypeEnum.SortDate;
	with Items do
	begin
		AddItem('1/1/2001');
		AddItem('1/2/2002');
		AddItem('1/10/2003');
		SortChildren(0,TObject(0),False);
	end;
end
73
How do I sort a column by numbers
with AxG2antt1 do
begin
	(Columns.Add('desc') as EXG2ANTTLib.Column).SortType := EXG2ANTTLib.SortTypeEnum.SortNumeric;
	with Items do
	begin
		AddItem(TObject(1));
		AddItem(TObject(5));
		AddItem(TObject(10));
		SortChildren(0,TObject(0),False);
	end;
end
72
How do I hide the control's header bar
with AxG2antt1 do
begin
	HeaderVisible := EXG2ANTTLib.HeaderVisibleEnum.exHeaderHidden;
end
71
How do change the visual appearance for the control's header bar, using EBN

with AxG2antt1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	(GetOcx() as EXG2ANTTLib.G2antt).BackColorHeader := $1000000;
end
70
How do I remove the control's border
with AxG2antt1 do
begin
	Appearance := EXG2ANTTLib.AppearanceEnum.None2;
end
69
I have a hierarchy and I need to filter only root items that match, with thier childs

with AxG2antt1 do
begin
	LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
	FilterInclude := EXG2ANTTLib.FilterIncludeEnum.exRootsWithChilds;
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exFilter;
		Filter := 'R1';
	end;
	with Items do
	begin
		h := AddItem('R1');
		InsertItem(h,Nil,'C1');
		InsertItem(h,Nil,'C2');
		ExpandItem[h] := True;
		h := AddItem('R2');
		InsertItem(h,Nil,'C1');
		InsertItem(h,Nil,'C2');
	end;
	ApplyFilter();
end
68
I have a hierarchy and I need to filter only root items that match, without thier childs

with AxG2antt1 do
begin
	LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
	FilterInclude := EXG2ANTTLib.FilterIncludeEnum.exRootsWithoutChilds;
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exFilter;
		Filter := 'R1';
	end;
	with Items do
	begin
		h := AddItem('R1');
		InsertItem(h,Nil,'C1');
		InsertItem(h,Nil,'C2');
		ExpandItem[h] := True;
		h := AddItem('R2');
		InsertItem(h,Nil,'C1');
		InsertItem(h,Nil,'C2');
	end;
	ApplyFilter();
end
67
I have a hierarchy and I need to filter only parent items that match, including thier childs

with AxG2antt1 do
begin
	LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
	FilterInclude := EXG2ANTTLib.FilterIncludeEnum.exItemsWithChilds;
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exFilter;
		Filter := 'R1';
	end;
	with Items do
	begin
		h := AddItem('R1');
		InsertItem(h,Nil,'C1');
		InsertItem(h,Nil,'C2');
		ExpandItem[h] := True;
		h := AddItem('R2');
		InsertItem(h,Nil,'C1');
		InsertItem(h,Nil,'C2');
	end;
	ApplyFilter();
end
66
How can I get ride/hide of the "Filter For" field
with AxG2antt1 do
begin
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
	end;
end
65
Is there any way to get listed only visible items in the drop down filter window
with AxG2antt1 do
begin
	LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAll,'');
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarBlanks,'');
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarNonBlanks,'');
	with (Columns.Add('P1') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
		FilterList := EXG2ANTTLib.FilterListEnum.exVisibleItems;
	end;
	with (Columns.Add('P2') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
	end;
	with Items do
	begin
		h := AddItem('R1');
		CellValue[TObject(h),TObject(1)] := 'R2';
		CellValue[TObject(InsertItem(h,Nil,'Cell 1.1')),TObject(1)] := 'Cell 1.2';
		CellValue[TObject(InsertItem(h,Nil,'Cell 2.1')),TObject(1)] := 'Cell 2.2';
	end;
end
64
How do I filter for items that match exactly the specified string
with AxG2antt1 do
begin
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exFilter;
		Filter := 'Item 1';
	end;
	Items.AddItem('Item 1');
	Items.AddItem('Item 2');
	Items.AddItem('Item 3');
	ApplyFilter();
end
63
How can I can I programmatically filter for items with a specified icon assigned
with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exImage;
		Filter := 1;
	end;
	with Items do
	begin
		CellImage[TObject(AddItem('Image 1')),TObject(0)] := 1;
		CellImage[TObject(AddItem('Image 1')),TObject(0)] := 1;
		CellImage[TObject(AddItem('Image 2')),TObject(0)] := 2;
		CellImage[TObject(AddItem('Image 3')),TObject(0)] := 3;
	end;
	ApplyFilter();
end
62
How can I can I programmatically filter the checked items
with AxG2antt1 do
begin
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		Def[EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox] := TObject(True);
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exCheck;
		Filter := 0;
	end;
	Items.AddItem(TObject(0));
	with Items do
	begin
		CellState[TObject(AddItem(TObject(1))),TObject(0)] := 1;
	end;
	Items.AddItem(TObject(2));
	ApplyFilter();
end
61
How can I can I filter programmatically the items based on some numerichal rules
with AxG2antt1 do
begin
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exNumeric;
		Filter := '> 0 <= 1';
	end;
	Items.AddItem(TObject(0));
	Items.AddItem(TObject(1));
	Items.AddItem(TObject(2));
	ApplyFilter();
end
60
How can I can I filter programmatically the items based on a range/interval of dates

with AxG2antt1 do
begin
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterDate := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exDate;
		Filter := '1/1/2001 to 1/1/2002';
	end;
	Items.AddItem('1/1/2001');
	Items.AddItem('2/1/2002');
	ApplyFilter();
end
59
How can I can I filter programmatically given a specified pattern using wild characters like * or
with AxG2antt1 do
begin
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exPattern;
		Filter := '0*';
	end;
	Items.AddItem(TObject(0));
	Items.AddItem('00');
	Items.AddItem(TObject(1));
	Items.AddItem('11');
	ApplyFilter();
end
58
How can I can I select programmatically "Blanks/NonBlanks" option in the column's drop down filter
with AxG2antt1 do
begin
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exBlanks;
	end;
	ApplyFilter();
end
57
How can I display the column's filter
with AxG2antt1 do
begin
	(Columns.Add('') as EXG2ANTTLib.Column).DisplayFilterButton := True;
end
56
How can I show only the vertical scroll bar
with AxG2antt1 do
begin
	ColumnAutoResize := True;
	ScrollBars := EXG2ANTTLib.ScrollBarsEnum.exDisableNoVertical;
	Columns.Add(1);
	Columns.Add(2);
end
55
How can I show the control's grid lines only for added/visible items
with AxG2antt1 do
begin
	MarkSearchColumn := False;
	DrawGridLines := EXG2ANTTLib.GridLinesEnum.exRowLines;
	Columns.Add('Column 1');
	Columns.Add('Column 2');
	Items.AddItem(TObject(0));
	Items.AddItem(TObject(1));
	Items.AddItem(TObject(2));
end
54
Can I hide the hierarchy lines

with AxG2antt1 do
begin
	LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exGroupLinesAtRoot;
	HasLines := EXG2ANTTLib.HierarchyLineEnum.exNoLine;
	Columns.Add('Column');
	with Items do
	begin
		h := AddItem('Root 1');
		InsertItem(h,Nil,'Child 1');
		InsertItem(h,Nil,'Child 2');
		ExpandItem[h] := True;
		h := AddItem('Root 2');
		InsertItem(h,Nil,'Child');
	end;
end
53
Can I change the style or type for the hierarchy lines

with AxG2antt1 do
begin
	LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exGroupLinesAtRoot;
	HasLines := EXG2ANTTLib.HierarchyLineEnum.exThinLine;
	Columns.Add('Column');
	with Items do
	begin
		h := AddItem('Root 1');
		InsertItem(h,Nil,'Child 1');
		InsertItem(h,Nil,'Child 2');
		ExpandItem[h] := True;
		h := AddItem('Root 2');
		InsertItem(h,Nil,'Child');
	end;
end
52
Can I use my own icons for the +/- ( expand/collapse ) buttons

with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exGroupLinesAtRoot;
	HasButtons := EXG2ANTTLib.ExpandButtonEnum.exCustom;
	set_HasButtonsCustom(False,1);
	set_HasButtonsCustom(True,2);
	Columns.Add('Column');
	with Items do
	begin
		h := AddItem('Root 1');
		InsertItem(h,Nil,'Child 1');
		InsertItem(h,Nil,'Child 2');
		ExpandItem[h] := True;
		h := AddItem('Root 2');
		InsertItem(h,Nil,'Child');
	end;
end
51
How do I change visual appearance of the +/- ( expand/collapse ) buttons

with AxG2antt1 do
begin
	LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exGroupLinesAtRoot;
	HasButtons := EXG2ANTTLib.ExpandButtonEnum.exWPlus;
	Columns.Add('Column');
	with Items do
	begin
		h := AddItem('Root 1');
		InsertItem(h,Nil,'Child 1');
		InsertItem(h,Nil,'Child 2');
		ExpandItem[h] := True;
		h := AddItem('Root 2');
		InsertItem(h,Nil,'Child');
	end;
end
50
How can I change the "IsChecked/IsUnchecked" caption in the control's filter bar, when I filter for checked items
with AxG2antt1 do
begin
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exCheck;
		Filter := 0;
	end;
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarIsChecked,'Check_On');
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarIsUnchecked,'Check_Off');
	ApplyFilter();
end
49
How can I change the "Checked" caption in the drop down filter window, when I filter for checked items
with AxG2antt1 do
begin
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exCheck;
	end;
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarChecked,'with check on');
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarUnchecked,'with check off');
end
48
How can I change the name of the week days in the drop down calendar window, being displayed when I filter items between dates
with AxG2antt1 do
begin
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterDate := True;
	end;
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarDateWeekDays,'Du Lu Ma Mi Jo Vi Si');
	ApplyFilter();
end
47
How can I change the name of the months in the drop down calendar window, being displayed when I filter items between dates
with AxG2antt1 do
begin
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterDate := True;
	end;
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarDateMonths,'Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre');
	ApplyFilter();
end
46
Can I change the "Today" caption being displayed in the drop down calendar, when I filter for dates
with AxG2antt1 do
begin
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterDate := True;
	end;
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarDateTodayCaption,'Azi');
	ApplyFilter();
end
45
The drop down filter window displays a "to" string between two datem when I filter dates. Can I change that
with AxG2antt1 do
begin
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterDate := True;
	end;
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarDateTo,'->');
	ApplyFilter();
end
44
How can I filter the items that are between an interval/range of dates
with AxG2antt1 do
begin
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterDate := True;
	end;
	ApplyFilter();
end
43
Can I change the "Date:" caption when the column's drop down filter window is shown
with AxG2antt1 do
begin
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterDate := True;
	end;
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarDate,'Range');
	ApplyFilter();
end
42
Can I filter for values using OR - NOT , instead AND operator
with AxG2antt1 do
begin
	with (Columns.Add('Column 1') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exBlanks;
	end;
	with (Columns.Add('Column 2') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exBlanks;
	end;
	with (Columns.Add('Column 3') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exBlanks;
	end;
	FilterCriteria := '%0 or not %1 and %2';
	ApplyFilter();
end
41
Can I change the NOT string in the filter bar
with AxG2antt1 do
begin
	with (Columns.Add('Column 1') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exBlanks;
	end;
	with (Columns.Add('Column 2') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exNonBlanks;
	end;
	FilterCriteria := 'not %0 or %1';
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarNot,' ! ');
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarIsNonBlank,' ! IsBlank');
	ApplyFilter();
end
40
Can I change the OR string in the filter bar
with AxG2antt1 do
begin
	with (Columns.Add('Column 1') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exBlanks;
	end;
	with (Columns.Add('Column 2') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exNonBlanks;
	end;
	FilterCriteria := '%0 or %1';
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarOr,' | ');
	ApplyFilter();
end
39
Can I change the AND string in the filter bar
with AxG2antt1 do
begin
	with (Columns.Add('Column 1') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exBlanks;
	end;
	with (Columns.Add('Column 2') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exNonBlanks;
	end;
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,' & ');
	ApplyFilter();
end
38
The "IsBlank" caption shown in the control's filterbar when I select "Blanks" or "NonBlanks" items in the column's drop down filter window
with AxG2antt1 do
begin
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exBlanks;
	end;
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarIsBlank,'Is Empty');
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarIsNonBlank,'Is Not Empty');
	ApplyFilter();
end
37
Is there any option to remove the tooltip when the cursor hovers the column's drop down filter window
with AxG2antt1 do
begin
	(Columns.Add('Column') as EXG2ANTTLib.Column).DisplayFilterButton := True;
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarFilterTitle,'');
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarPatternFilterTitle,'');
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarTooltip,'');
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarPatternTooltip,'');
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarFilterForTooltip,'');
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarDateTooltip,'');
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarDateTitle,'');
end
36
How can I change the "Filter For" caption in the column's drop down filter window
with AxG2antt1 do
begin
	(Columns.Add('Column') as EXG2ANTTLib.Column).DisplayFilterButton := True;
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarFilterForCaption,'new caption');
end
35
Can I remove the "All", "Blanks" and "NonBlanks" items in the drop down filter window
with AxG2antt1 do
begin
	(Columns.Add('Column') as EXG2ANTTLib.Column).DisplayFilterButton := True;
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAll,'');
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarBlanks,'');
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarNonBlanks,'');
end
34
How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window
with AxG2antt1 do
begin
	(Columns.Add('Column') as EXG2ANTTLib.Column).DisplayFilterButton := True;
	set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAll,'new name for (All)');
end
33
How can I change the position of the column
with AxG2antt1 do
begin
	Columns.Add('Column 1');
	(Columns.Add('Column 2') as EXG2ANTTLib.Column).Position := 0;
end
32
Can I make strikeout the column's header
with AxG2antt1 do
begin
	(Columns.Add('Column 1') as EXG2ANTTLib.Column).HeaderStrikeOut := True;
end
31
How can I apply an strikeout font only a portion of the column's header
with AxG2antt1 do
begin
	(Columns.Add('Column 1') as EXG2ANTTLib.Column).HTMLCaption := '<s>Col</s>umn 1';
end
30
How can I get underlined only a portion of column's header
with AxG2antt1 do
begin
	(Columns.Add('Column 1') as EXG2ANTTLib.Column).HTMLCaption := '<u>Col</u>umn 1';
end
29
How can I underline the column's header
with AxG2antt1 do
begin
	(Columns.Add('Column 1') as EXG2ANTTLib.Column).HeaderUnderline := True;
end
28
How can I apply an italic font only a portion of the column's header
with AxG2antt1 do
begin
	(Columns.Add('Column 1') as EXG2ANTTLib.Column).HTMLCaption := '<i>Col</i>umn 1';
end
27
Is there any option to make italic the column's header
with AxG2antt1 do
begin
	(Columns.Add('Column 1') as EXG2ANTTLib.Column).HeaderItalic := True;
end
26
How can I bold only a portion of the column's header
with AxG2antt1 do
begin
	(Columns.Add('Column 1') as EXG2ANTTLib.Column).HTMLCaption := '<b>Col</b>umn 1';
end
25
Is there any option to bold the column's header
with AxG2antt1 do
begin
	(Columns.Add('Column 1') as EXG2ANTTLib.Column).HeaderBold := True;
end
24
Why child items are not shown
with AxG2antt1 do
begin
	LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
	Columns.Add('Column 1');
	with Items do
	begin
		h := AddItem('Root');
		InsertItem(h,Nil,'Child 1');
		InsertItem(h,Nil,'Child 2');
		ExpandItem[h] := True;
	end;
end
23
Does your control support partial-check ( three states ) feature for each column

with AxG2antt1 do
begin
	LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
	with (Columns.Add('P1') as EXG2ANTTLib.Column) do
	begin
		Def[EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox] := TObject(True);
		PartialCheck := True;
	end;
	with (Columns.Add('P2') as EXG2ANTTLib.Column) do
	begin
		Def[EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox] := TObject(True);
		PartialCheck := True;
	end;
	with Items do
	begin
		h := AddItem('Root');
		InsertItem(h,Nil,'Child 1');
		InsertItem(h,Nil,'Child 2');
		ExpandItem[h] := True;
	end;
end
22
Is there any option to change the color for the grid lines
with AxG2antt1 do
begin
	Columns.Add('');
	DrawGridLines := EXG2ANTTLib.GridLinesEnum.exAllLines;
	GridLineColor := Color.FromArgb(255,0,0);
end
21
Can I change the font to display the column's header
with AxG2antt1 do
begin
	HeaderHeight := 34;
	(Columns.Add('Column 1') as EXG2ANTTLib.Column).HTMLCaption := '<font Tahoma;14>Column</font> 1';
end
20
Can I change the height of the header bar
with AxG2antt1 do
begin
	HeaderHeight := 32;
end
19
Can I display multiple icons to the column's header
with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	(Columns.Add('Column 1') as EXG2ANTTLib.Column).HTMLCaption := '1<img>1</img> 2 <img>2</img>...';
end
18
How can I draw grid lines only for visible items
with AxG2antt1 do
begin
	MarkSearchColumn := False;
	DrawGridLines := EXG2ANTTLib.GridLinesEnum.exRowLines;
	Columns.Add('Column 1');
	Columns.Add('Column 2');
	Items.AddItem(TObject(0));
	Items.AddItem(TObject(1));
	Items.AddItem(TObject(2));
end
17
How can I show the control's grid lines
with AxG2antt1 do
begin
	MarkSearchColumn := False;
	DrawGridLines := EXG2ANTTLib.GridLinesEnum.exAllLines;
	Columns.Add('Column 1');
	Columns.Add('Column 2');
	Items.AddItem(TObject(0));
	Items.AddItem(TObject(1));
	Items.AddItem(TObject(2));
end
16
How can I assign a different background color for the entire column

with AxG2antt1 do
begin
	MarkSearchColumn := False;
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exCursorHoverColumn,$ffffffff);
	with (Columns.Add('Column 1') as EXG2ANTTLib.Column) do
	begin
		Def[EXG2ANTTLib.DefColumnEnum.exCellBackColor] := TObject(255);
		Def[EXG2ANTTLib.DefColumnEnum.exHeaderBackColor] := TObject(255);
	end;
	Columns.Add('Column 2');
	Items.AddItem(TObject(0));
	Items.AddItem(TObject(1));
	Items.AddItem(TObject(2));
end
15
How can I assign a check box for a cell
with AxG2antt1 do
begin
	Columns.Add('Column 1');
	with Items do
	begin
		AddItem(TObject(0));
		CellHasCheckBox[TObject(AddItem(TObject(1))),TObject(0)] := True;
		AddItem(TObject(2));
	end;
end
14
How can I assign checkboxes for the entire column

with AxG2antt1 do
begin
	(Columns.Add('Column 1') as EXG2ANTTLib.Column).Def[EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox] := TObject(True);
	Items.AddItem(TObject(0));
	Items.AddItem(TObject(1));
	Items.AddItem(TObject(2));
end
13
How can I show both scrollbars
with AxG2antt1 do
begin
	ScrollBars := EXG2ANTTLib.ScrollBarsEnum.exDisableBoth;
end
12
How can I change the column's width
with AxG2antt1 do
begin
	ColumnAutoResize := False;
	(Columns.Add('Column 1') as EXG2ANTTLib.Column).Width := 64;
	(Columns.Add('Column 2') as EXG2ANTTLib.Column).Width := 128;
end
11
How can I show or hide a column
with AxG2antt1 do
begin
	(Columns.Add('Hidden') as EXG2ANTTLib.Column).Visible := False;
end
10
How can I hide the searching column
with AxG2antt1 do
begin
	MarkSearchColumn := False;
	Columns.Add('Column 1');
	Columns.Add('Column 2');
	Items.AddItem(Nil);
end
9
Can I disable sorting a column, when the user clicks the column's header, or drag it to the sort bar
with AxG2antt1 do
begin
	(Columns.Add('Unsortable') as EXG2ANTTLib.Column).AllowSort := False;
	Columns.Add('Sortable');
end
8
Is there any option to align the header to the left and the data to the right
with AxG2antt1 do
begin
	(Columns.Add('Left') as EXG2ANTTLib.Column).Alignment := EXG2ANTTLib.AlignmentEnum.LeftAlignment;
	with (Columns.Add('Right') as EXG2ANTTLib.Column) do
	begin
		Alignment := EXG2ANTTLib.AlignmentEnum.RightAlignment;
		HeaderAlignment := EXG2ANTTLib.AlignmentEnum.RightAlignment;
	end;
	with Items do
	begin
		CellValue[TObject(AddItem('left')),TObject(1)] := 'right';
	end;
end
7
Can I displays a custom size picture to column's header
with AxG2antt1 do
begin
	set_HTMLPicture('pic1','c:\exontrol\images\zipdisk.gif');
	HeaderHeight := 48;
	(Columns.Add('ColumnName') as EXG2ANTTLib.Column).HTMLCaption := '<b>HTML</b> Column <img>pic1</img> Picture';
end
6
How can I insert an icon to column's header

with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	(Columns.Add('ColumnName') as EXG2ANTTLib.Column).HTMLCaption := '<b>HTML</b> Column <img>1</img> Icon';
end
5
How can I insert an icon to column's header

with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	(Columns.Add('ColumnName') as EXG2ANTTLib.Column).HeaderImage := 1;
end
4
How can I use HTML format in column's header
with AxG2antt1 do
begin
	(Columns.Add('ColumnName') as EXG2ANTTLib.Column).HTMLCaption := '<b>HTML</b> <fgcolor=0000FF>Col</fgcolor>umn';
end
3
How can I change/rename the column's name
with AxG2antt1 do
begin
	(Columns.Add('ColumnName') as EXG2ANTTLib.Column).Caption := 'NewName';
end
2
How can I add multiple columns
with AxG2antt1 do
begin
	with Columns do
	begin
		Add('Column 1');
		Add('Column 2');
	end;
end
1
How can I add a new column
with AxG2antt1 do
begin
	Columns.Add('caption');
end